﻿@model IEnumerable<TrainingManagerSystem.WebUI.TrainingManagerSystemService.CourseRefund>
<div class="box-title">
    <h3>
        <i class="icon-bar-chart"></i>
        Course
    </h3>                            
</div>
<div class="box-content nopadding fix-height-300" style="height: 200px; overflow: auto">
    <table class="table table-hover table-nomargin">
        <thead>
            <tr>
                <th>Course Name</th>
                <th>Course Year</th>
                <th>Cost</th>
            </tr>
        </thead>
        <tbody>
           @foreach(var item in Model) {
               <tr>
                   <td>
                       @item.Course
                   </td>
                   <td>
                       @if(item.EndDate!=null) {
                            @item.EndDate.Value.ToString("dd-MMM-yyyy")
                       }
                   </td>
                   <td>
                       @item.Costs
                   </td>
               </tr>
           }
        </tbody>
    </table>
</div>